
import { http } from '@/utils/http'

type id = {
    id: string
  }
/**
 * 获取当前位置
 */
export const devicLocation = (id: string) => {
    return http<id>({
      method: 'GET',
      url: `sbxx/devicLocation/${id}`,
    })
  }
// 里程数统计
  export const MileageStatistics = (id: string) => {
    return http<id>({
      method: 'GET',
      url: `sbxx/MileageStatistics/${id}`,
    })
  }
 